
package cn.itcast.dtx.seatademo.bank1;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;


@SpringBootApplication
@EnableDiscoveryClient
@EnableHystrix
@EnableFeignClients(basePackages = {"cn.itcast.dtx.seatademo.bank1.spring"})
public class Bank1Server {

	// http://localhost:56080/
	// sh /Users/xiaoxu/tools/seata-server-0.7.1/bin/seata-server.sh -p 8888 -h 127.0.0.1 -m file

	public static void main(String[] args) {
		SpringApplication.run(Bank1Server.class, args);

	}

}
